import axiosInstance from '@/utils/request';
// 请求基础地址
const hotelApi = {
  // 上传图片
  pushPic(v) {
    return axiosInstance.post("/common/minio/uploadImgGetName", v);
  },
  //获取图片
  picQuery(v) {
    return axiosInstance.get(`/common/minio/getImgUrl/${v}`);
  },
  // 检测新入住商家是否补充完整
  detectSupplementQuery(v) {
    return axiosInstance.get(`/hotel/information/checkFistIsComplete/${v}`);
  },
    // 酒店分页
    pagePartQuery(v) {
      return axiosInstance.get("/admin/hotel/settle/page", v);
    },
    // 进入详情
    detailQuery(v) {
      return axiosInstance.get(`/admin/hotel/settle/detailsInfo/${v}`, "");
    },
    //入驻审核接口
    aptitudeBody(v) {
      return axiosInstance.post("/admin/hotel/settle/audit", v);
    },
    //获取入驻审核记录
    getAptitudeQuery(v) {
      return axiosInstance.get(`/admin/hotel/settle/auditRecord/${v}`);
    },
};
export default hotelApi;
